import javax.jws.WebService;

@WebService(targetNamespace="http://localhost:63081/projectContainer")
public class ProjectContainerService {

	public ProjectContainer getProjectContainer()
	{
		return ProjectContainer.getInstance();
	}

	public String getNoOfProjects()
	{
		return ProjectContainer.getInstance().getNoOfProjects() + "";
	}

	public String getProjectContent(String projectID, String docName)
	{
		return ProjectContainer.getInstance().getProject(projectID).getFile(docName);
	}

	public String getProjectDescription(String projectID)
	{
		return ProjectContainer.getInstance().getProject(projectID).getDescription();
	}
	
	public String getProjectPrice(String projectID)
	{
		return ProjectContainer.getInstance().getProject(projectID).getPrice()+"";
	}

}
